@extends('layouts.app')
@section('content')
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">我的专属二维码</div>
                <div class="card-body">
                    @if (session('status'))
                    <div class="alert alert-success">
                        {{ session('status') }}
                    </div>
                    @endif
                </div>
                <div class="visible-print text-center">
                    @if (Auth::user()->role=='admin')
                    <a href="{{url('/customerlist')}}">客户管理</a>
                    @else
                    <a href="{{url('/customerlist')}}">我的客户</a>
                    @endif
                    <a href="{{Auth::user()->myurl}}">办理业务</a>

                    @if (Auth::user()->role=='admin')
                    <a href="/userlist">业务员管理</a>
                    @endif
                </div>
                <div class="visible-print text-center">
                    <img src="/qrcodes/{{Auth::user()->uuid}}.png"/>
                    <p>您的专属二维码,长按保存</p>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
